<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //1.标识符,起名字的规则
        var a=10;
        console.log(typeof a);
        console.log(3/4);
        console.log(0x11);
        console.log(011);
        console.log(0b11);
        var className='计算机2221';
        console.log(className);
        console.log(typeof className);
        console.log("'hello'");
        console.log('"world"');  //单引号，双引号可以互相嵌套
        console.log('\u8ba1\u7b97\u673a2221');
        var bool1=true;
        console.log(typeof bool1);
        console.log(Number.MAX_VALUE)
        console.log(Number.MIN_VALUE)
        console.log(isNaN('aaa'))
        console.log(Boolean(0))
        console.log(Boolean(0.1))
        console.log(Boolean(''))
        console.log(Boolean(' '))
        console.log(Number(true))
        console.log(Number(false))
        console.log(Number('123'))
        console.log(Number('12a3'))
        console.log(Number('a123'))
        console.log(parseInt(true))
        console.log(parseInt(false))
        console.log(parseInt('123'))
        console.log(parseInt('12a3'))
        console.log(parseInt('a123'))
        var numStr=String(12)
        var num2=123
        num2.toString(12)              //运算符中，%是表示取余数
    </script>
</body>
</html>